package com.tea.service.impl;


import com.tea.entity.Store;
import com.tea.mapper.StoreMapper;
import com.tea.result.Result;
import com.tea.service.StoreService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class StoreServiceImpl implements StoreService {

    @Autowired
    private StoreMapper storeMapper;


    @Override
    public List<Store> list(Store store) {
        System.out.println(store);
        List<Store> storeList=storeMapper.list(store);
        return storeList;
    }
}
